package com.lagou.entity;

import java.io.Serializable;
import java.util.Date;


public class Employee implements Serializable {

    //成员变量名和表的列对应
    private int eid;
    private String ename;
    private String gender;
    private double salary;
    private double bonus;
    private Date join_DATE;

    public Employee(){

    }

    public Employee(int eid, String ename, String gender, double salary, double bonus, Date join_DATE) {
        this.eid = eid;
        this.ename = ename;
        this.gender = gender;
        this.salary = salary;
        this.bonus = bonus;
        this.join_DATE = join_DATE;
    }

    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public double getBonus() {
        return bonus;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }

    public Date getJoin_DATE() {
        return join_DATE;
    }

    public void setJoin_DATE(Date join_DATE) {
        this.join_DATE = join_DATE;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "eid=" + eid +
                ", ename='" + ename + '\'' +
                ", gender='" + gender + '\'' +
                ", salary=" + salary +
                ", bonus=" + bonus +
                ", join_DATE=" + join_DATE +
                '}';
    }
}
